<?php
class DatabaseObject_Vu extends DatabaseObject
{

	public function __construct()
	{
		$dbname = Zend_Registry::get('config')->snsjpn->db->name;
		parent::__construct($dbname, 'sns_vu', 'id');
	}
        public function getContent(){
		$db = $this->getAdapter();
		$sql = "SELECT content FROM sns_vu";
		return $db->fetchOne($sql);
	}
}

?>
